/*
 * @Author: 'Chenfarry' '2925102113@qq.com'
 * @Date: 2024-07-22 10:57:37
 * @LastEditors: 'Chenfarry' '2925102113@qq.com'
 * @LastEditTime: 2024-07-31 19:54:14
 * @FilePath: \orderApp\main.ts
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 */
import { createSSRApp } from 'vue'
import App from './App.vue'
import store from './store'
import globalMethods from '@/utils/global'
import { routeInterceptor, requestInterceptor } from './interceptors'
import 'virtual:uno.css'
import '@/style/index.scss'
import uvUI from '@climblee/uv-ui'


export function createApp() {
  const app = createSSRApp(App)
  app.use(store)
  app.use(routeInterceptor)
  app.use(requestInterceptor)
  app.use(globalMethods)
  app.use(uvUI)
  return {
    app,
  }
}
